/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mall.db.dao;

import java.util.List;

/**
 *
 * @author Iaroslav_Mazai
 */
public interface CommonDAO<T> {

	public abstract T findById(Integer id);

	public abstract List<T> findAll();

	public abstract void save(T entity);

	public abstract void update(T entity);

	public abstract void remove(T entity);
}
